﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
    CodeBehind="Kisisel.aspx.cs" Inherits="BeniBastanYaratProject.Uye.Kisisel" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
    <link href="../datepicker.css" rel="stylesheet" type="text/css" />
    <script src="../js/datepicker.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">


        $(document).ready(function () {



            $('#<%= txtDogumTarihi.ClientID %>').DatePicker({
                format: 'd/m/Y',
                date: $('#<%= txtDogumTarihi.ClientID %>').val(),
                current: $('#<%= txtDogumTarihi.ClientID %>').val(),
                starts: 1,
                position: 'r',
                onBeforeShow: function () {
                    $('#<%= txtDogumTarihi.ClientID %>').DatePickerSetDate($('#<%= txtDogumTarihi.ClientID %>').val(), true);
                },
                onChange: function (formated, dates) {
                    $('#<%= txtDogumTarihi.ClientID %>').val(formated);

                    $('#<%= txtDogumTarihi.ClientID %>').DatePickerHide();

                }
            });


            $('#yeniadresekle').click(function () {


                $('#yeniadres').slideToggle('normal', function () {
                });

            });
            $('#yeniadres').slideToggle(0);
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Main_CenterContent" runat="server">
    <div style="font-size: 14px; font-weight: bold; text-align: center; padding: 20px;">
        <asp:Label ID="lblMesaj" runat="server" Text="Ki&#351;isel bilgilerinizi de&#287;i&#351;tirmek için yeni bilgilerinizi girip Kaydet dü&#287;mesine t&#305;klay&#305;n&#305;z."></asp:Label>
    </div>
    <table class="style1">
        <tr>
            <td width="140">
                Ad&#305;
            </td>
            <td>
                <asp:TextBox ID="txtUyeAdi" runat="server" Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Soyadi
            </td>
            <td>
                <asp:TextBox ID="txtUyeSoyadi" runat="server" Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Do&#287;um Tarihi
            </td>
            <td>
                <asp:TextBox ID="txtDogumTarihi" runat="server" Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Cep Telefonu
            </td>
            <td>
                <asp:TextBox ID="txtCepTlf" runat="server" Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Ev Telefonu
            </td>
            <td>
                <asp:TextBox ID="txtEvTlf" runat="server" Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Birincil Adresim
            </td>
            <td>
                <asp:DropDownList ID="drpAdresler" runat="server" Width="200px">
                </asp:DropDownList>
                <span id="yeniadresekle" style="font-weight: bold; padding: 5px; border: 1px solid #CCCCCC;
                    cursor: pointer">Yeni Adres Ekle</span> &nbsp;<span id="Span1" style="font-weight: bold;
                        padding: 5px; border: 1px solid #CCCCCC; cursor: pointer"><a href="AdresBilgiIslem.aspx">Adresleri Yönet</a></span>
            </td>
        </tr>
    </table>
    <div id="yeniadres" style="border: 1px solid #CCCCCC; background-color:#F0F4F5;">
        <table class="style1">
            <tr>
                <td width="140">
                    Adres Ad&#305;
                </td>
                <td>
                    <asp:TextBox ID="txtAdresAdi" runat="server" Width="200px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Adres Bilgisi
                </td>
                <td>
                    <asp:TextBox ID="txtAdresBilgisi" runat="server" Width="200px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Adres Tarif
                </td>
                <td>
                    <asp:TextBox ID="txtAdresTarif" runat="server" Width="200px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Adres Not
                </td>
                <td>
                    <asp:TextBox ID="txtAdresNot" runat="server" Width="200px"></asp:TextBox>
                </td>
            </tr>
        </table>
    </div>
    <asp:Button ID="btnKaydet" runat="server" Text="Kaydet" OnClick="btnKaydet_Click" />
</asp:Content>
